package com.sihan.framework.etm.dto;

import java.io.Serializable;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;

@Data
public class UserUpdatePassDTO implements Serializable {

  private static final long serialVersionUID = 2717951040829264764L;

  @NotBlank(message = "{user.oldPassword}")
  @ApiModelProperty(value = "原用户密码")
  private String oldPassword;

  @NotBlank(message = "{user.newPassword}")
  @ApiModelProperty(value = "新用户密码")
  private String newPassword;
  
  @NotBlank(message = "{user.suNewPassword}")
  @ApiModelProperty(value = "确认密码")
  private String suNewPassword;
}
